package com.example.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.util.Date;
import java.math.BigDecimal;

@Data
@TableName("msslyy_user")
public class MsslyyUser extends Model<MsslyyUser> {
    /**
      * 主键
      */
    @ApiModelProperty(value = "ID")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long id;


    /**
      * 头像 
      */
    @ApiModelProperty(value = "头像")
    private String userImages;

    /**
      * 用户名 
      */
    @ApiModelProperty(value = "用户名")
    private String userUsername;

    /**
      * 密码 
      */
    @ApiModelProperty(value = "密码")
    private String userPassword;

    /**
      * 手机号 
      */
    @ApiModelProperty(value = "手机号")
    private String userPhone;

    /**
      * 邮箱 
      */
    @ApiModelProperty(value = "邮箱")
    private String userEmail;

    /**
      * 昵称 
      */
    @ApiModelProperty(value = "昵称")
    private String userNickName;

    /**
      * 1:男 / 2:女 
      */
    @ApiModelProperty(value = "1:男 / 2:女")
    private Integer userSex;

    /**
      * 出生日期 
      */
    @ApiModelProperty(value = "出生日期")
    private Date userBirthday;

    /**
      * 描述/签名 
      */
    @ApiModelProperty(value = "描述/签名")
    private String userDescribe;

    /**
      * 钱包余额 
      */
    @ApiModelProperty(value = "钱包余额")
    private BigDecimal userWallets;

    /**
      * 状态 
      */
    @ApiModelProperty(value = "状态")
    private Integer status;

    /**
      * 身份证号码 
      */
    @ApiModelProperty(value = "身份证号码")
    private Long userIdNumber;

    /**
      * 逻辑删除 
      */
    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

    /**
      * 乐观锁 
      */
    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer version;

    /**
      * 创建时间 
      */
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
      * 修改时间 
      */
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private String token;

}